package com.demo.test.mapper;

import com.demo.test.entity.Sing;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.demo.test.entity.SingVo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author XieHuan
 * @since 2017-06-10
 */
public interface SingMapper extends BaseMapper<Sing> {


    public List<Sing> selectAllSingByType();

    public  List<SingVo> selectSingsByPiaoShu();

    public  SingVo selectSingPiaoById(int id);

}